package com.alibaba.nacos.plugin.datasource.impl.dm.dialect;

import com.alibaba.nacos.plugin.datasource.constants.PrimaryKeyConstant;
import com.alibaba.nacos.plugin.datasource.dialect.AbstractDatabaseDialect;

import static com.alibaba.nacos.plugin.datasource.constants.DataSourceConstant.DM;

/**
 * 适配达梦新增.
 *
 * @author hhz
 **/
public class DaMengDatabaseDialect extends AbstractDatabaseDialect {

    @Override
    public String[] getReturnPrimaryKeys() {
        return PrimaryKeyConstant.UPPER_RETURN_PRIMARY_KEYS;
    }

    @Override
    public String getType() {
        return DM;
    }
}